/*
 * @Author: xujianwei
 * @Date: 2021-11-16 11:53:25
 * @LastEditors: xujianwei
 * @LastEditTime: 2021-11-16 14:37:50
 */

 export const ramdomArray = (len = 0,max = 0,int= true)=>{
    let arr = []
     for(let i = 0; i < len; i++){
         let num = Math.random() * max
         num = int ? parseInt(num ) : num
         arr.push(num)
     }
     return arr
 }